﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Management.Core.MainCheckLog
{
    public class MainCheckLog
    {
        [Key]
        public int MainCheckLogID { get; set; }

        [Display(Name = "原始单据")]
        public string OriDocNum { get; set; }

        [Required(ErrorMessage = "非空")]
        [Display(Name = "车间ID")]
        public int WorkshopID { get; set; }

        [Display(Name = "规格")]
        public string Specification { get; set; }

        [Display(Name = "厚度")]
        public string Thickness { get; set; }

        [Display(Name = "硅片等级")]
        public string SiliconGrade { get; set; }

        [Display(Name = "测试设备")]
        public string TestEquipment { get; set; }

        [Display(Name = "备注")]
        public string Remark { get; set; }

        [Display(Name = "经办人")]
        public string Handler { get; set; }

        [Display(Name = "文件名称")]
        public string FileName { get; set; }

        [Display(Name = "审核")]
        public int isCheck { get; set; }

        [Display(Name = "审核人")]
        public string Checker { get; set; }

        [Display(Name = "电池类型")]
        public string BatteryType { get; set; }

        [Display(Name = "电池材质")]
        public string BatteryMaterial { get; set; }

        [Display(Name = "电池外观")]
        public int BatteryAppearance { get; set; }

        [Display(Name = "厂家")]
        public string Factory { get; set; }

        [Display(Name = "日期")]
        public DateTime Created_at { get; set; }

        public virtual Workshop.Workshop Workshop { get; set; }
    }
}
